#ifndef __MONGOOSE_LINK_PORT_H_
#define __MONGOOSE_LINK_PORT_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <stdio.h>
#include <NetworkPort.h>
bool_t MG_GetLinkStatu(void);
bool_t MG_MqttDataSend(u8 qos, char *buf, u32 len);
bool_t MG_SetMqttConnectParam(struct MqttConnentParam *param);
bool_t MG_HttpDownload(s32 Fd, char *url, u32 num, struct s_UpdateInfo *Info);
bool_t MG_HttpTimeGet(char *Url, struct s_TimeInfo *info, bool_t Zone);
//void MG_SendLogMessage(u8 *buf, u32 len, u32 Timeout, u8 priority);
//void MG_SendLoopMessage(u8 **buf, u32 len, u32 Timeout, u8 priority);

#ifdef __cplusplus
}
#endif

#endif
